@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: black;
  color: white;
  min-height: 80vh;
  overflow-x: hidden;
}
.background {
  background-image: url("../img/fondo.png");
  background-size: cover;
  background-position: 70% center;
  padding: 20px 5%;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: clamp(24px, 4vw, 38px);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  margin-right: 12px;
  font-size: clamp(16px, 2vw, 22px);
}

.hero {
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 60vh; /* era 90vh */
}

.left {
  width: 50%;
}

.left h1 {
  font-size: clamp(32px, 5vw, 65px);
  line-height: 1.05;
  margin-bottom: 25px;
}

.atention {
  color: #1dd8c6;
}

.left p {
  font-size: clamp(16px, 1.5vw, 20px);
  margin-bottom: 15px;
  opacity: 0.9;
}

button {
  margin-top: 20px;
  padding: 18px 35px;
  border: none;
  border-radius: 40px;
  background: #18c7b4;
  color: white;
  font-size: clamp(16px, 1.8vw, 22px);
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.08);
}

.right {
  width: 50%;
}

.stats {
  display: flex;
  gap: clamp(20px, 5vw, 60px);
  margin-top: 60px;
  flex-wrap: wrap;
}

.item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item img {
  width: clamp(60px, 8vw, 100px);
}

.item h2 {
  font-size: clamp(32px, 4vw, 50px);
  color: #16d0bd;
}

.number {
  font-family: Georgia, sans-serif;
}

/* ── QUÉ HACEMOS ── */
.que-hacemos {
  padding: 4rem 6%;
  background: #fff;
  min-height: 50vh;
}

.qh-linea {
  width: 15vh;
  height: 0.8vh;
  background: #2dbf9b;
  margin-bottom: 0.75rem;
}

.que-hacemos h2 {
  font-size: clamp(1.4rem, 3vw, 5rem);
  font-weight: 700;
  color: #27124D;
  margin-bottom: 2.5rem;
}

.qh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.qh-card h3 {
  font-family: Georgia, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.qh-card p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.btn-ver {
  display: inline-block;
  background: #2dbf9b;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.btn-ver:hover {
  background: #22a082;
}

/* ── POR QUÉ HR STRATEGY ── */
.por-que {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 4rem 6%;
  background: #f5f0e8;
  flex-wrap: wrap;
  min-height: 50vh;
}

.pq-imagen {
  flex: 1 1 280px;
}

.pq-imagen img {
  width: 100%;
  max-width: 700vh;
  border-radius: 12px;
  object-fit: cover;
}

.pq-texto {
  flex: 1 1 280px;
}

.pq-texto h2 {
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 700;
  color: #27124D;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.pq-verde {
  color: #2dbf9b;
}

.pq-texto ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.pq-texto ul li {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

/* ── VALORES ── */
.valores {
  background: #27124D;
  padding: 4rem 6%;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.val-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.val-card img {
  width: 15vh;
  height: 15vh;
  object-fit: contain;
}

.val-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27124D;
  line-height: 1.3;
}

.val-card p {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
  flex: 1;
}

.val-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dbf9b;
  margin-top: 0.5rem;
}
/* ── CLIENTES ── */
.clientes {
  background: #fff;
  padding: 4rem 6%;
  color: #27124D;
}

.clientes-texto {
  font-size: clamp(1.1rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #27124D;
  max-width: 60%;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}

.carrusel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.carrusel-track-container {
  overflow: hidden;
  flex: 1;
}

.carrusel-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carrusel-track img {
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}


.car-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
  margin-top: 0;
  padding: 0;
}

.car-btn:hover {
  border-color: #2dbf9b;
  color: #2dbf9b;
  transform: scale(1.05);
}

.clientes-botones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cbtn {
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.7rem;
  transition: opacity 0.2s, transform 0.2s;
}

.cbtn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.cbtn-verde {
  background: #2dbf9b;
  color: #fff;
}

.cbtn-oscuro {
  background: #27124D;
  color: #fff;
}

.cbtn-outline {
  background: transparent;
  color: #27124D;
  border: 1.5px solid #27124D;
}



/* ── TESTIMONIOS ── */
.testimonios {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 6%;
  overflow: hidden;
}

.test-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/edificio.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.test-card {
  position: relative;
  z-index: 1;
  background-image: url("../img/cartas.jpg");
  border-radius: 20px;
  padding: 3rem 3.5rem;
  max-width: 680px;
  width: 100%;
  color: white;
  overflow: hidden;
}

.test-q {
  font-size: 5rem;
  color: #2dbf9b;
  line-height: 0;
  display: block;
  font-family: Georgia, serif;
}

.test-q-open {
  font-size: 5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.test-q-close {
  font-size: 5rem;
  text-align: right;
  margin-top: 0.5rem;
}

.test-track-container {
  overflow: hidden;
}

.test-track {
  display: flex;
  transition: transform 0.5s ease;
}

.test-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.test-slide p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1.5rem;
}

.test-autor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.test-autor strong {
  font-size: 1rem;
  color: white;
}

.test-autor span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.test-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.test-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  padding: 0;
}

.test-btn:hover {
  border-color: #2dbf9b;
  color: #2dbf9b;
  transform: scale(1.05);
}

.test-dots {
  display: flex;
  gap: 0.5rem;
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}

.test-dot.active {
  background: #2dbf9b;
}





/* ── FOOTER ── */
.footer {
  background: #fff;
}

.footer-titulo {
  padding: 4rem 6% 3rem;
}

.footer-titulo h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 50rem);
  font-weight: 800;
  line-height: 1.1;
}

.ft-violeta {
  color: #27124D;
}

.ft-verde {
  color: #2dbf9b;
}

.footer-inferior {
  background: #27124D;
  padding: 3rem 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  color: #fff;
}

.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo-hr {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.footer-logo-evolution {
  width:25vh;
  height: auto;
}

.footer-logo-evolution p {
  font-size: 0.7rem;
  color: #CD6829;
  font-style: normal;
  letter-spacing: 0.05em;
  margin-top: -0.2rem;
}

.footer-col h4 {
  color: #CD6829;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.9;
}





/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav a {
    margin-left: 0;
  }

  .por-que {
    flex-direction: column;
  }

  .pq-imagen img {
    max-width: 100%;
  }
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}